package cate.game.rank.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBRank;

@ClientMsg(title = "排行榜功能主界面 の 数据 请求")
public class RankDataReq implements MsgInput {
    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.getRole().getFarm().rank.getRankData();
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBRank.DATA_REQ;
    }
}
